<script type="text/javascript" src="js/dhtmlgoodies_calendar.js"></script>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/tlds/extremecomponents.tld" prefix="ec" %>
<%@taglib uri="http://ajaxtags.org/tags/ajax" prefix="ajax"%>
<%@page import="jmc.ui.front.form.SendTravelsForm"%>


<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<META HTTP-EQUIV="Expires" CONTENT="-1">
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<META HTTP-EQUIV="Expires" CONTENT="-1">

		<link href="<%=request.getContextPath()%>/css/general.css" rel="stylesheet" type="text/css" />
		<link href="<%=request.getContextPath()%>/css/defaultForm.css" rel="stylesheet" type="text/css" />
		<link href="<%=request.getContextPath()%>/css/extremecomponents.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/message.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/formUtilit.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/appletClass.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/certificatesToken.js"></script>		
		
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/ajax.js"></script>		
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/tab.js"></script>		
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/rico/rico.js"></script>		
		<title><tiles:getAsString name="title"/></title>
		<script type="text/javascript">
		
		// Messages and buttons
		var missingFieldsMessage = "<bean:message key="error.missingFields"/>";
		var onlyNumberFieldsMessage = "<bean:message key="error.onlyNumberFields"/>";
		var emailFieldsMessage = "<bean:message key="error.emailFields"/>";
		var dateFieldsMessage = "<bean:message key="error.dateFields"/>";
		var generalFillFieldsMessage = "<bean:message key="error.generalFillFields"/>";
		var buttonOk = "<bean:message key="button.ok"/>";
		var buttonCancel = "<bean:message key="button.cancel"/>";
		var buttonYes = "<bean:message key="button.yes"/>";
		var buttonNo = "<bean:message key="button.no"/>";

		</script>
</head>
<link href="<%=request.getContextPath()%>/css/ajax/ajaxtags.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/css/ajax/displaytag.css" rel="stylesheet" type="text/css" />
<link href="css/dhtmlgoodies_calendar.css" rel="stylesheet" type="text/css">

<!-- Init menu de acciones de operador -->
<div class="main">
	<div class="panel_100 tab">
    	
		<div class="space"></div>
    	<div>Pendientes</div>
<html:form action="/sendTravels.do?method=listoVdp" styleId="preparedSelectDateForm">
	<div style="width:8%; float:right;">
		<html:link href="#"  style="margin: 0px;" onclick="submitForm('preparedSelectDateForm');"><span>Volver</span></html:link>
	</div>
</html:form>
    	
		
<div class="subTitulo">
	Cliente: <bean:write name="sendTravelsForm" property="usuario.nombreCliente" /> ---
	Fecha Seleccionada: <bean:write name="sendTravelsForm" property="usuario.fechaInventario" />
</div>

				<fieldset class="defaultFieldset" style="margin: 0%;width: 100%; height: 100%;"  >
				

				<div class="separator"></div>

    			
    			<bean:define name="sendTravelsForm" id="wd016003List" property="wd016003List"/>

				<% int num = ((SendTravelsForm)request.getAttribute("sendTravelsForm")).getWd016003List().size();
					if (num==0){  %>
					<div class="noDataMessage">No se encontraron datos sobre los criterios seleccionados</div>
				<% } else { %>
					<ec:table
						tableId="notReg" 
				    	items="wd016003List"
						var = "wd016003"
						locale="es_ES"
						action="sendTravels.do?method=getDetalle"
						imagePath="images/table/*.gif"
						width="100%"
						rowsDisplayed="30" >
						<ec:exportXls view="xls" fileName="detalle.xls" tooltip="Export Excel"/>
						<ec:row>																																	
								<ec:column filterable="true" sortable="false" width="150px" property="muvin" title="________VIN________">
									<span style="white-space:nowrap;">${wd016003.muvin}</span>
								</ec:column>
								<ec:column filterable="false" sortable="true" width="80px" property="wjfedc" title="F.Disp">
									<span style="white-space:nowrap;">${wd016003.formatedWjfedc}</span>
								</ec:column>

								<ec:column filterable="false" sortable="true" width="80px" property="wkprif" title="F.Priori">
									<span style="white-space:nowrap;">${wd016003.formatedWkprif}</span>
								</ec:column>
	
								<ec:column filterable="false" sortable="false" width="80px" property="wkprih" title="H.Prio">
									<span style="white-space:nowrap;">${wd016003.formatedWkprih}</span>
								</ec:column>
								<ec:column filterable="true" sortable="true" width="80px" property="ounror" title="Nr.Origen">
									<span style="white-space:nowrap;">${wd016003.ounror}</span>
								</ec:column>
								<ec:column filterable="false" sortable="false" width="20px" property="wkplor" title="Orig">
									<span style="white-space:nowrap;">${wd016003.wkplor}</span>
								</ec:column>
								<ec:column filterable="false" sortable="false" width="20px" property="ounrde" title="Dest.">
									<span style="white-space:nowrap;">${wd016003.ounrde}</span>
								</ec:column>
								<ec:column filterable="true" sortable="true" width="200px" property="wkraso" title="Raz.Social" >
									<span style="white-space:nowrap;">${wd016003.wkraso}</span>
								</ec:column>
								<ec:column filterable="true" sortable="true" width="20px" property="wjzona" title="Z" />
								<ec:column filterable="true" sortable="true" width="20px" property="wjsubz" title="SZ" />
								<ec:column filterable="true" sortable="true" width="80px" property="wjdias" title="DIAS" >
									<span style="white-space:nowrap;">${wd016003.wjdias}</span>
								</ec:column>
								
								<ec:column filterable="false" sortable="true" width="80px" property="wkfeli" title="F.LIBER" >
									<span style="white-space:nowrap;">${wd016003.wkfeli}</span>
								</ec:column>
								<ec:column filterable="true" sortable="false" width="80px" property="wkesta" title="STAT" >
									<span style="white-space:nowrap;">${wd016003.wkesta}</span>
								</ec:column>
								<ec:column filterable="false" sortable="true" width="80px" property="mumode" title="MODELO" >
									<span style="white-space:nowrap;">${wd016003.mumode}</span>
								</ec:column>
								<ec:column filterable="true" sortable="false" width="80px" property="wkdemo" title="NOMBRE" >
									<span style="white-space:nowrap;">${wd016003.wkdemo}</span>
								</ec:column>
								<ec:column filterable="true" sortable="true" width="80px" property="uxcate" title="CAT" >
									<span style="white-space:nowrap;">${wd016003.uxcate}</span>
								</ec:column>
								<ec:column filterable="true" sortable="false" width="80px" property="wkcssf" title="S" >
									<span style="white-space:nowrap;">${wd016003.wkcssf}</span>
								</ec:column>
								<ec:column filterable="false" sortable="false" width="80px" property="ouoper" title="OP" >
									<span style="white-space:nowrap;">${wd016003.ouoper}</span>
								</ec:column>
								<ec:column filterable="false" sortable="false" width="80px" property="ouclie" title="CLI" >
									<span style="white-space:nowrap;">${wd016003.ouclie}</span>
								</ec:column>							
								<ec:column filterable="false" sortable="true" width="80px" property="wkest1" title="E1" >
									<span style="white-space:nowrap;">${wd016003.wkest1}</span>
								</ec:column>
								<ec:column filterable="false" sortable="true" width="80px" property="wkest2" title="E2" >
									<span style="white-space:nowrap;">${wd016003.wkest2}</span>
								</ec:column>
								<ec:column filterable="false" sortable="true" width="80px" property="wkest3" title="E3" >
									<span style="white-space:nowrap;">${wd016003.wkest3}</span>
								</ec:column>
						</ec:row>
					</ec:table>
					<jsp:include page="../add_on/tableHints.jsp"/>
				<% } %>	
			</fieldset>


</div>
</div>
<script type="text/javascript">
function submitForm(formId) { 
	document.getElementById(formId).submit();
}

</script>